import React from 'react'
import {useRoutes ,BrowserRouter} from "react-router-dom"
import { routes } from './router' 
function App() {
  const El=()=>useRoutes(routes)
  return (
   <BrowserRouter>
    <El></El>
   </BrowserRouter>
  )
}

export default App
